home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 722 / 722.xpi / chrome / noscript.jar / content / noscript / clearClick.xul < prev    next >
Extensible Markup Language  |  2010-02-12  |  4KB  |  88 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.     NoScript - a Firefox extension for whitelist driven safe JavaScript execution
  4.     Copyright (C) 2004-2009 Giorgio Maone - g.maone@informaction.com
  5.  
  6.     This program is free software; you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation; either version 2 of the License, or
  9.     (at your option) any later version.
  10.  
  11.     This program is distributed in the hope that it will be useful,
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program; if not, write to the Free Software
  18.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19.  
  20. ***** END LICENSE BLOCK ***** -->
  21. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  22. <?xml-stylesheet href="chrome://noscript/skin/browser.css" type="text/css"?>
  23. <?xml-stylesheet href="chrome://noscript/skin/options.css" type="text/css"?>
  24.  
  25. <!DOCTYPE dialog [
  26. <!ENTITY % noscript SYSTEM "chrome://noscript/locale/noscript.dtd" >
  27. %noscript;
  28. <!ENTITY % noscriptFB  SYSTEM "chrome://noscript/content/en-US/noscript.dtd" >
  29. %noscriptFB;
  30. ]
  31. >
  32. <dialog id="clearClick"
  33.   title="&noscriptClearClickTitle;"
  34.   onload="ClearClick.init()"
  35.   ondialogaccept="ClearClick.end()"
  36.     ondialogdisclosure="ClearClick.disclosure()"
  37.   ondialogextra1="ClearClick.report()"
  38.  
  39.   
  40.     buttons="accept,extra1,disclosure"
  41.   buttonlabelextra1="&noscriptClearClickReport;"
  42.   buttonaccesskeyextra1="&noscriptClearClickReport.accesskey;"
  43.   
  44.   spacerflex="1"
  45.   persist="screenX screenY"
  46.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  47.   
  48.   <stringbundleset id="stringbundleset">
  49.     <stringbundle id="noscript-strings" src="chrome://noscript/locale/noscript.properties" />
  50.     <stringbundle id="noscript-stringsFB" src="chrome://noscript/content/en-US/noscript.properties" />
  51.   </stringbundleset>
  52.   
  53.   <script type="application/x-javascript" src="noscript.js" />
  54.   <script type="application/x-javascript" src="clearClick.js" />
  55.     <hbox style="width: 400px">
  56.         <vbox>
  57.             <image src="chrome://noscript/skin/icon32.png" width="32" height="32" />
  58.       </vbox>
  59.         <vbox flex="1">
  60.         <label class="header" value="&noscriptClearClickHeader;" />
  61.         <description style="white-space: normal;">&noscriptClearClickDescription;</description>
  62.         <hbox align="center" style="margin: 8px;">
  63.             <vbox align="center">
  64.                 <stack id="imgs-stack" align="center" 
  65.                              onkeypress="if (event.which > 9) ClearClick.swap(this)"
  66.                                 onclick="ClearClick.swap(this)">
  67.                     <image id="fakeImg" src="" width="350" height="200" style="border: 2px solid #800"/>
  68.                     <image id="trueImg" src="" width="350" height="200" style="border: 2px solid #080"/>
  69.                 </stack>
  70.             </vbox>
  71.       </hbox>
  72.         <label class="text-link" id="hiddenContentURL" onclick="ClearClick.browse()" value="" />
  73.         <checkbox id="keepLocked" label="&noscriptKeepLocked;" checked="true" />
  74.     <separator/>
  75.     <hbox id="clearClickOpts" align="center">
  76.       <label value="&noscriptClearClickOpt;" />
  77.       <checkbox id="cc1" value="1" label="&noscriptUntrustedPagesAdj;"/>
  78.       <checkbox id="cc2" value="2" label="&noscriptTrustedPagesAdj;"/>
  79.     </hbox>
  80.     <hbox>
  81.       <label id="report" collapsed="true">&noscriptClearClickReportId;</label>
  82.       <textbox readonly="true" class="plain" id="report-id" value="" style="visibility: hidden" />
  83.       <progressmeter id="progress" mode="undetermined" collapsed="true" flex="1"/>
  84.     </hbox>
  85.     
  86.         </vbox>
  87.    </hbox>
  88. </dialog>